package com.itlong.cloud.POJO.DTO.property;

import com.itlong.cloud.POJO.DTO.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      物业SIP数据源处理DTO(包含sip的添加，更新，删除)
 * </desc>
 *
 * @createDate 2018/1/9
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PropertySubscriberHanlerDTO extends BaseDTO implements Serializable {

    //待添加或更新Sip的userName
    private String addUserName;

    //待更新或添加的密码
    private String addPassword;

    //待删除Sip的userName
    private String delUserName;

    public PropertySubscriberHanlerDTO(String projectId,String addUserName,String addPassword, String delUserName) {
        super.setProjectId(projectId);
        this.addUserName = addUserName;
        this.addPassword = addPassword;
        this.delUserName = delUserName;
    }
}